@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: black;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}
.background {
  position: relative;
  padding: 20px 5%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: 0;
}

.bg-foto-derecha {
  position: absolute;
  right: 5%;
  top: 10%;
  height: 80%;
  width: 40%;
  object-fit: contain;
  z-index: 1;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 1000;
}

.logo-img {
  height: 10vh;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.08);
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 12px;
  margin-right: 12px;
  font-size: clamp(1rem, 3vw, 1.5rem);
}
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  margin: 0;
}

.dropdown-menu a:hover {
  background: #222;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 40vh;
  z-index: 1;
}

h1 {
  font-size: clamp(3rem, 3vw, 3.5rem);
}
/* ── QUÉ HACEMOS ── */
.que-hacemos {
  padding: 4rem 6%;
  background: #fff;
  min-height: 50vh;
}

.qh-linea {
  width: 15vh;
  height: 0.8vh;
  background: #2dbf9b;
  margin-bottom: 0.75rem;
}

.que-hacemos h2 {
  font-size: clamp(1.4rem, 3vw, 5rem);
  font-weight: 700;
  color: #27124D;
  margin-bottom: 2.5rem;
}

.qh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.qh-card h3 {
  font-family: Georgia, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #27124D;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.qh-card p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

.btn-ver {
  display: inline-block;
  background: #2dbf9b;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.btn-ver:hover {
  background: #22a082;
}


/* ── EVO FRASE ── */
.evo-frase {
  background: #13AB91;
  padding: 3rem 6%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.evo-frase h2 {
  font-size: clamp(2.2rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

.evo-frase h2 strong {
  font-weight: 700;
}

.evo-frase p {
  font-size: clamp(1.4rem, 1.5vw, 1.4rem);
  color: #fff;
  line-height: 1.7;
}

.evo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #213F9A;
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  font-size: clamp(2rem, 1.5vw, 1.2rem);
  font-weight: 700;
  transition: opacity 0.2s;
}

.evo-cta:hover {
  opacity: 0.85;
}

/* ── FOOTER ── */
.footer {
  background: #fff;
}

.footer-titulo {
  padding: 4rem 6% 3rem;
}

.footer-titulo h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 50rem);
  font-weight: 800;
  line-height: 1.1;
}

.ft-violeta {
  color: #27124D;
}

.ft-verde {
  color: #2dbf9b;
}

.footer-inferior {
  background: #27124D;
  padding: 3rem 6%;
  display: flex;
  flex-wrap: wrap;
  gap: 10rem;
  color: #fff;
}

.footer-col {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo-hr {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.footer-logo-evolution {
  width:25vh;
  height: auto;
}

.footer-logo-evolution p {
  font-size: 0.7rem;
  color: #CD6829;
  font-style: normal;
  letter-spacing: 0.05em;
  margin-top: -0.2rem;
}

.footer-col h4 {
  color: #CD6829;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.9;
}





/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .left, .right {
    width: 100%;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  nav a {
    margin-left: 0;
  }

  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}